package com.wyzz.hr.pojo;

import com.wyzz.hr.pojo.base.BasePerfcrits;

public class Perfcrits extends BasePerfcrits implements Comparable {

	public Perfcrits() {
	}

	public Perfcrits(String pcId) {
		super(pcId);
	}

	public Perfcrits(String pcId, String pcName, Perfcrittype pcPctId,
			Integer pcStatus, Integer pcSortId) {
		super(pcId, pcName, pcPctId, pcStatus, pcSortId);
	}

	public int compareTo(Object o) {
		if (!(o instanceof Perfcrits)) {
			throw new ClassCastException(o.getClass().getName());
		} else {
			Perfcrits perfcrits = (Perfcrits) o;
			return getPcSortId().compareTo(perfcrits.getPcSortId());
		}
	}

	private static final long serialVersionUID = 1L;
}
